<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\facade\Route;

// 构建基于前端低代码框架下的UI自动生成接口
Route::post('/lc/build/table/:modelName', 'UIBuilder/table');
Route::get('/lc/data/table/:modelName', 'UIData/table');

// 针对需要重头自定义逻辑的情况
Route::resource('companies', 'Company');
Route::resource('contacts', 'Contact');
Route::resource('departments', 'Department');
Route::resource('projects', 'Project');
Route::resource('tasks', 'Task');
Route::resource('files', 'File');
Route::resource('resources', 'Resource');
Route::resource('risks', 'Risk');
Route::resource('roles', 'Role');
Route::resource('preferences', 'Preference');
Route::resource('modules', 'Module');
Route::resource('config', 'Config');
Route::resource('bcode', 'Bcode');
Route::resource('forums', 'Forum');
Route::resource('links', 'Link');

// Route::resource('syskeys', 'SysKey');
// Route::resource('projectdesigner', 'ProjectDesignerOption');